GBML manual / Constants

SHAPE_67_FLOOR_UP_RIGHT_1

A 67.5 degree slope: floor rising to the right, piece 1 of 2 (steeper than 45 degrees: a wall that is slid down).

Syntax

SHAPE_67_FLOOR_UP_RIGHT_1: constant

Description

A 67.5 degree slope: floor rising to the right. It is the number 29. It is piece 1 of 2 of the slope: the pieces go one above the other, piece 1 on top, and each carries on the line of the one above it. Piece 1 has the least solid. A slope steeper than 45 degrees cannot be walked up: it is a wall with a slanted face that a walker slides down. It is the 22.5 degree slope turned a quarter turn. The Slopes page ("Steep slopes") shows how the shapes join.

.......#
.......#
......##
......##
.....###
.....###
....####
....####

In the picture, the characters # are solid pixels and the dots are open ones.

Example

tile_set_shape(x, y + 8, SHAPE_67_FLOOR_UP_RIGHT_1);

Gives the square just under the walker this slope.

See also: tile_shapetile_set_shapeSlopesSHAPE_67_FLOOR_UP_RIGHT_2